#!/bin/bash

install_hio_software_support_list=("HIO")
install_hio_options=("[v]")
install_hio_description=(
"Kunpeng Hyper IO Middleware"
)

install_hio_prompt() {
    logInfo "Start installing HIO Component..."
    logInfo "Please Enter (1-$1) to switch component selection, only checked component(s) will be installed."
    logInfo "Enter 'q' to quit, 'y' or enter to confirm component installation."
}

toggle_install_hio_option() {
    local index=$1
    if [ "${install_hio_options[index]}" = "[v]" ]; then
        install_hio_options[index]="[x]"
    else
        install_hio_options[index]="[v]"
    fi
}
